package com.xunge.pojo;

import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class Attendance {
    private Integer id; //ID,主键
    private Integer studentId; //学生ID
    private Integer clazzId; //班级ID
    private Integer courseId; //课程ID
    private LocalDate attendanceDate; //考勤日期
    private Integer status; //考勤状态, 1:正常, 2:迟到, 3:早退, 4:旷课, 5:请假
    private String remark; //备注
    private LocalDateTime createTime; //创建时间
    private LocalDateTime updateTime; //修改时间
    
    //关联信息
    private String studentName; //学生姓名
    private String clazzName; //班级名称
    private String courseName; //课程名称
} 